<div class="nav">
    <div class="nav_tit fl">
        <ul>
            <li id='menu_app' class="new menu_li <?php if( $str_action == 'app' ) {echo 'cate_curr';}?>"><a href="javascript:void(0);" url="/iphone_index.php?act=app" act='app' type='hot' class='menu'>应用</a></li>
            <li id='menu_game' class="hot menu_li <?php if( $str_action == 'game' ) {echo 'cate_curr';}?>"><a href="javascript:void(0);" url="/iphone_index.php?act=game" act='game' type='hot' class='menu'>游戏</a></li>
            <li id='menu_category' class="cate menu_li <?php if( $str_action == 'category' ) {echo 'cate_curr';}?>"><a href="javascript:void(0);" url="/iphone_index.php?act=category&type=game" act='category' type='game' class='menu'>分&nbsp;&nbsp;&nbsp;&nbsp;类</a></li>
        </ul>
    </div>
    <a class="nav_so fr menu" href="javascript:void(0);" url="/iphone_index.php?act=search" act='search'></a>
</div>

<div class="nav_two sub_menu_div <?=$str_action == 'app' ? '' : 'hide';?>" id='sub_menu_app'>
    <ul>
        <li id='sub_menu_app_hot' class='sub_menu_li <?=$str_type == 'hot' ? 'nv_curr' : '';?>'><a href="javascript:void(0);" act='app' type='hot' url='/iphone_index.php?act=app&type=hot' class='menu'>热门应用</a></li>
        <li id='sub_menu_app_new' class='sub_menu_li <?=$str_type == 'new' ? 'nv_curr' : '';?>'><a href="javascript:void(0);" act='app' type='new' url='/iphone_index.php?act=app&type=new' class='menu'>最新应用</a></li>
    </ul>
    <div class="red_bg"></div>
</div>

<div class="nav_two sub_menu_div <?=$str_action == 'game' ? '' : 'hide';?>" id='sub_menu_game'>
    <ul>
        <li id='sub_menu_game_hot' class='sub_menu_li <?=$str_type == 'hot' ? 'nv_curr' : '';?>'><a href="javascript:void(0);" act='game' type='hot' url='/iphone_index.php?act=game&type=hot' class='menu'>热门游戏</a></li>
        <li id='sub_menu_game_new' class='sub_menu_li <?=$str_type == 'new' ? 'nv_curr' : '';?>'><a href="javascript:void(0);" act='game' type='new' url='/iphone_index.php?act=game&type=new' class='menu'>最新游戏</a></li>
    </ul>
    <div class="red_bg"></div>
</div>

<div class="nav_two sub_menu_div <?=$str_action == 'category' ? '' : 'hide';?>" id='sub_menu_category'>
    <ul>
        <li id='sub_menu_category_game' class='sub_menu_li <?=$str_type == 'game' ? 'nv_curr' : '';?>'><a href="javascript:void(0);" act='category' type='game' url='/iphone_index.php?act=category&type=game' class='menu'>游 戏</a></li>
        <li id='sub_menu_category_app' class='sub_menu_li <?=$str_type == 'app' ? 'nv_curr' : '';?>'><a href="javascript:void(0);" act='category' type='app' url='/iphone_index.php?act=category&type=app' class='menu'>软 件</a></li>
    </ul>
    <div class="red_bg"></div>
</div>